package com.cy.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 统计信息实体
 * </p>
 *
 * @author Aleven
 * @since 2024-12-21
 */
@Data
@ApiModel(value="Statistics对象", description="")
public class Statistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "统计唯一标识符")
    @TableId(value = "StatisticID", type = IdType.AUTO)
    private Integer StatisticID;

    @ApiModelProperty(value = "关联课程ID")
    @TableField("CourseID")
    private Integer CourseID;

    @ApiModelProperty(value = "观看次数")
    @TableField("ViewCount")
    private Integer ViewCount;

    @ApiModelProperty(value = "报名人数")
    @TableField("EnrollmentCount")
    private Integer EnrollmentCount;

    @ApiModelProperty(value = "平均评分")
    @TableField("AverageRating")
    private BigDecimal AverageRating;


}
